const express = require('express')
const router = express.Router();

const getArticleList = (req,res)=>{
    
    res.json({
        code: 20000,
        message: '文章列表'
    });
}

const doEdit = (req,res) =>{
    res.json({
        code: 20000,
        message: "编辑文章"
    })
}

router.get('/article/getarticles', getArticleList)
router.get('/article/doedit', doEdit)


module.exports = router;